<?php
declare (strict_types=1);

namespace app\service;

use app\traits\ServiceTrait;
use app\util\JwtUtil;
use app\service\AuthGroupService;

/**
 * 菜单
 * Class SysMenuService
 * @package app\service
 */
class SysMenuService
{
    //仓库，带命名空间
    public static $repository = 'app\repository\SysMenuRepository';

    use ServiceTrait;

    /**
     * @param $where
     * @param $myorder
     * @param $field
     * @return array
     */
    public static function getListsAll($where, $myorder)
    {
        // 列表
        $list = self::$repository::getListsAll($where, $myorder);
        return $list;
    }
}
